function iframeAutoHeight(iframeId)  
{  
	parent.document.getElementById("mainContent").height=0;
	parent.document.getElementById("mainContent").height=document.body.scrollHeight + 200;
} 